/* ====================
   仪表板页面样式
   ==================== */
.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 25px;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-info h1 {
  margin-bottom: 8px;
  font-size: 24px;
}

.nanny-type {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.detail-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-card h3 {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  color: var(--primary-color);
}

.detail-item {
  display: flex;
  margin-bottom: 15px;
}

.detail-label {
  font-weight: 600;
  min-width: 120px;
  color: var(--dark-color);
}

.detail-value {
  color: #333;
  flex: 1;
}

.action-buttons {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

/* 没有资料提示 */
.no-data {
  text-align: center;
  padding: 40px 20px;
}

.no-data h2 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .action-buttons {
    flex-direction: column;
  }
}